﻿using System;
using UnityEngine;

namespace SteeringBehaviors
{
	// Token: 0x02000215 RID: 533
	public class TransformKinematic : IKinematic
	{
		// Token: 0x06000B3C RID: 2876 RVA: 0x0005E956 File Offset: 0x0005CB56
		public TransformKinematic(Transform transform)
		{
			this.transform = transform;
		}

		// Token: 0x06000B3D RID: 2877 RVA: 0x0005E965 File Offset: 0x0005CB65
		protected override Vector3 GetPosition()
		{
			return this.transform.position;
		}

		// Token: 0x06000B3E RID: 2878 RVA: 0x0005E972 File Offset: 0x0005CB72
		protected override bool ToBool()
		{
			return this.transform;
		}

		// Token: 0x04001050 RID: 4176
		public Transform transform;
	}
}
